﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Psl.Chat;
using Psl.Controls;

namespace Stl.Chat.Remoting.Plugin
{
    class ThreadUIProxy : NeutralProxy
    {
        // Constructeur
        public ThreadUIProxy(IChat remote)
            : base(remote)
        {
        }

        public override void FireChatChanged(object sender, ChatChangedEventArgs e)
        {
            PostMethod.ToMainThread(new ChatChangedEventHandler(base.FireChatChanged), sender, e);
        }

    }
}
